package framework.mvc.annotation;

import framework.mvc.enu.ResultType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Result {

    String name() default "success";
    String path() default "";
    ResultType type() default ResultType.FORWARD;

}
